<form id="shiro_user_form_form" method="post" style="margin: 5px;">
    <input name="data.id" value="${data.id!}" style="display:none;"/><br/>
    <input name="data.login_name" value="${data.login_name!}" class="easyui-textbox"
           data-options="prompt:'登录名称',label:'登录名称',labelWidth:100,labelAlign:'right',width:'100%',required:true"/>
    <input name="data.login_pwd" value="${data.login_pwd!}" class="easyui-passwordbox"
           data-options="prompt:'登录密码',label:'登录密码',labelWidth:100,labelAlign:'right',width:'100%',required:true"/>
    <select id="shiro_user_form_comboGrid" class="easyui-combogrid" name="roleIds"
            data-options="
            prompt:'角色',label:'角色',labelWidth:100,labelAlign:'right',width:'100%',
            multiple:true,
            panelWidth:450,
            pagination:true,
            fitColumns:true,
            idField:'id',
            textField:'name',
            url:'${ctxPath}/shiro/role/list',
            columns:[[
                {field:'id',title:'编号',hidden:true},
                {field:'name',title:'角色名称',width:150},
                {field:'code',title:'角色编码',width:150}
            ]]
            ,onLoadSuccess:function(data){
                $('#shiro_user_form_comboGrid').combogrid('setValues',[${roleIds!}]);
            }
        "></select>
</form>